package com.yehun.utils;

/**
 * Created by Genius on 2017/4/1 0001.
 */
public class Constant {

    public static class Redis {

        public static class Value {
            public final static String Default = "default";
            public final static String RealTimeSecondTen = "realTimeSecondTen";
            public final static String RealTimeSecondThirty = "realTimeSecondThirty";
            public final static String RealTimeSecondFortyFive = "realTimeSecondFortyFive";
            public final static String RealTimeMinuteOne = "realTimeMinuteOne";
            public final static String RealTimeMinuteFive = "realTimeMinuteFive";
            public final static String LongTermHourOne = "longTermHourOne";
            public final static String LongTermHourTwelve = "longTermHourTwelve";
            public final static String LongTermDaysOne = "longTermDaysOne";
        }

        public static class Key {
            public final static String RouteListAll = "yehun-cms.route.list.all.json";
        }

    }

    public static class Parameter {
        public final static String PageIndex = "pageIndex";
        public final static String PageSize = "pageSize";
    }

    /**
     * 默认常量
     */
    public static class Default {
        public static final String IP = "255.255.255.255";
        public static final Integer ValueInt = -999;
        public static final Short ValueShort = -999;
        public static final Long ValueLong = -999L;
        public static final Float ValueFloat = -999F;
        public static final String ValueStr = "-999";
        public static final boolean ValueBool = false;
        public final static int PageSize = 10;
    }
}
